package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓库盘点任务表
 * </p>
 *
 * @author Wayne
 * @since 2021-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_INV_CHECK")
@ApiModel(value="InventoryCheck对象", description="仓库盘点任务表")
public class OverseaInvCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "仓库盘点任务UUID")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "仓库盘点任务单号")
    @TableField("INVENTORY_CHECK_ID")
    private String inventoryCheckId;

    @ApiModelProperty(value = "工厂编号")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "仓库地点代码")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "是否杂货 X-备件货 M-贸易货")
    @TableField("INVENTORY_CHECK_TYPE")
    private String inventoryCheckType;

    @ApiModelProperty(value = "盘点类别 1-日常盘点 2-月度盘点 3-动态盘点 4-其它盘点")
    @TableField("INVENTORY_CHECK_CATEGORY")
    private String inventoryCheckCategory;

    @ApiModelProperty(value = "盘点类型 1-明盘 2-暗盘")
    @TableField("INVENTORY_CHECK_MOLD")
    private String inventoryCheckMold;

    @ApiModelProperty(value = "盘点日期")
    @TableField("INVENTORY_CHECK_DATE")
    private String inventoryCheckDate;

    @ApiModelProperty(value = "盘点结果 1-账实相符 2-盘盈 3-盘亏 4-盘盈盘亏")
    @TableField("INVENTORY_CHECK_RESULT")
    private String inventoryCheckResult;

    @ApiModelProperty(value = "是否复盘 1-初盘 2-复盘")
    @TableField("IS_REVIEW")
    private String isReview;

    @ApiModelProperty(value = "复盘单据UUID")
    @TableField("INVENTORY_REVIEW_ID")
    private String inventoryReviewId;

    @ApiModelProperty(value = "盘盈单据号")
    @TableField("INVENTORY_CHECK_SURPLUS")
    private String inventoryCheckSurplus;

    @ApiModelProperty(value = "盘亏单据号")
    @TableField("INVENTORY_CHECK_LOSS")
    private String inventoryCheckLoss;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_DATE")
    private String createDate;

    @ApiModelProperty(value = "任务状态：1-待盘点；2-盘点中；3-复盘中；4-处理中；5-关闭(完成)")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "创建人工号")
    @TableField("REQUESTER")
    private String requester;

    @ApiModelProperty(value = "申请人")
    @TableField("OPERATOR")
    private String operator;

    @ApiModelProperty(value = "复核人")
    @TableField("REVIEWER")
    private String reviewer;

    @ApiModelProperty(value = "审批人")
    @TableField("APPROVER")
    private String approver;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人姓名")
    @TableField("UPDATE_USERNAME")
    private String updateUsername;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;


}
